package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;
import com.indusfo.spc.common.pojo.Temporary;

import java.util.List;

public class Repair extends BasePojo {

    //下线工序ID   offlineId
    private Integer repairId;

    //下线工序名称   offlineName
    private String repairName;

    //工序类型   offlineType
    //维修下线类型	1	工检
    //维修下线类型	2	生产
    private Integer repairTypeId;

    // 工序类型 翻译  offlineTypeName
    private String repairTypeName;

    //备注
    private String remark;

    //数据状态
    private Integer dataState;

    private Long[] proIds;

    //状态码翻译
    private String dataStateName;

    private List<Temporary> list;

    public List<Temporary> getList() {
        return list;
    }

    public void setList(List<Temporary> list) {
        this.list = list;
    }

    public Integer getRepairId() {
        return repairId;
    }

    public void setRepairId(Integer repairId) {
        this.repairId = repairId;
    }

    public String getRepairName() {
        return repairName;
    }

    public void setRepairName(String repairName) {
        this.repairName = repairName== null ? null : repairName.trim().replace(" ","");

    }

    public Integer getRepairTypeId() {
        return repairTypeId;
    }

    public void setRepairTypeId(Integer repairTypeId) {
        this.repairTypeId = repairTypeId;
    }

    public String getRepairTypeName() {
        return repairTypeName;
    }

    public void setRepairTypeName(String repairTypeName) {
        this.repairTypeName = repairTypeName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark== null ? null : remark.trim().replace(" ","");

    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public Long[] getProIds() {
        return proIds;
    }

    public void setProIds(Long[] proIds) {
        this.proIds = proIds;
    }

    public String getDataStateName() {
        return dataStateName;
    }

    public void setDataStateName(String dataStateName) {
        this.dataStateName = dataStateName;
    }
}